﻿using System;
using GdNet.WebFramework.Data;
using GdNet.WebFramework.Domain.Common;

namespace GdNet.Applications.DataGeneration.DataAssistants
{
    public static class FastTestAssistant
    {
        public static void TestRepositories(DataRepositories dataRepositories)
        {
            var allTranslations = dataRepositories.Translation.GetAllByLanguage(LanguagesCode.Vietnamese);
            Console.WriteLine("Vietnamese translations: " + allTranslations.Count);

            var allCatalogs = dataRepositories.Catalog.GetAll();
            Console.WriteLine("Catalogs: " + allCatalogs.Count);
        }
    }
}
